package cn.kgc.providerboosweb.mapper;

import cn.kgc.entiybookweb.entiy.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BookMapper {

    public List<Book> selectBooks(@Param("keyword") String keyword, @Param("keywordtype") Integer keywordtype);

    public int addBook(Book book);
}
